package com.liyz.testmodule.feign;


import com.liyz.common.util.R;
import com.liyz.common.vo.UserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-user")
public interface UserClient {

    @RequestMapping("/user/{id}")
    UserVO get(@PathVariable("id") Integer id);

}
